<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
$this->load->helper('url');
?><div class="user-body">
  	<div class="body-content">
      <div class="body-title">
        <?php echo lang('money_coin_draw');?>      </div>
      
      <div class="step-box">
      	<label><strong>01</strong><?php echo lang('money_out_step1');?></label>
      	<span></span>
      	<label class="on"><strong>02</strong><?php echo lang('money_out_step2');?></label>
      	<span></span>
      	<label><strong>03</strong><?php echo lang('money_out_step3');?></label>
      	<span></span>
      	<label><strong>04</strong><?php echo lang('money_out_step1');?></label>
      	<div class="clear"></div>
      </div>
            
      <div class="notice">
      	<h3><?php echo lang('money_out_notice');?></h3>
      	<p><?php echo $cfg['xnb_draw_notice'];?></p>
      </div>
      
      <div class="form">
     	<form action="<?php echo site_url('out/insert');?>" method="post" id="form_id">
      	<table cellspacing=0 cellpadding=0 border=0>
      		<tr><th><?php echo lang('money_coin');?>：</th><td><?php echo $coin['cn_name'];?></td></tr>
      		<tr><th><?php echo lang('money_out_enable');?>：</th><td><?php echo $xnb['num'];?></td></tr>
      		<tr><th><?php echo lang('money_out_address');?>：</th><td>
      		<?php echo $address['code'];?>      		</td></tr>
      		<tr><th><?php echo lang('money_out_num');?>：</th><td><?php echo $num;?></td></tr>
      		<tr><th><?php echo lang('money_out_fee');?>：</th><td><?php echo $fee;?></td></tr>
      		<tr><th><?php echo lang('money_out_real');?>：</th><td><?php echo $real_num;?></td></tr>
      		<tr><th><?php echo lang('money_out_paypwd');?>：</th><td><input type="password" name="paypwd"><p><?php echo lang('money_out_paypwd_warn');?></p></td></tr>
      		<tr><th></th><td class="warning"></td></tr>
      		<tr><th></th><td><button type="submit"><?php echo lang('money_out_btn');?></button> <a href="<?php echo site_url('out');?>"><?php echo lang('money_out_back');?></a></td></tr>
      	</table>
      	</form>
      </div>
      
      <script>
		$(function(){
			$('#form_id').checkForm();
		})
      </script>
      
      
    </div>
  </div>
  <div class="clear"></div>
</div>
<script>
$(function(){
	$('.cancel-btn').single('<?php echo site_url('out/cancel');?>');
	$('#status').change(function(){
		$.cookie('select_status',$(this).val());
		location.reload();
	});
	$('.coin-tab').click(function(){
		$.cookie('coin_id',$(this).attr('data-id'));
		location.reload();
	});
});
</script>